package com.ibeetl.admin.aod.dao;

import java.util.List;

import com.ibeetl.admin.aod.web.query.AodIndustryQuery;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;
import org.beetl.sql.core.engine.PageQuery;

import  com.ibeetl.admin.aod.entity.*;

/**
 * AodIndustry Dao
 */
@SqlResource("aod.aodIndustry")
public interface AodIndustryDao extends BaseMapper<AodIndustry> {

    PageQuery<AodIndustry> queryByCondition(PageQuery query);

    void batchDelAodIndustryByIds(List<Long> ids);

    AodIndustry queryByName(String industryName);

    AodIndustry queryByNameAndNonId(String industryName, Long id);

    List<AodIndustry> queryList(AodIndustryQuery aodIndustryQuery);

    AodIndustry queryByTableName(String industryTable);

    AodIndustry queryByTableNameAndNonId(String industryTable, Long id);

}